package scanner.com.activity;

import android.os.Bundle;
import android.os.PersistableBundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.google.zxing.client.android.CaptureActivity;

import scanner.com.scanner.R;

/**
 * Created by longteng on 2016-6-7.
 */
public class ScanActivity extends CaptureActivity{
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        findView();
        initView();
    }

    @Override
    protected void onResume() {
        super.onResume();
        showViewFinderView(false);
    }

    protected void findView(){

    }

    protected void initView(){
        getRootLayoutView().addView(View.inflate(this,R.layout.activity_scan,null));
    }
}
